import Index from '../include/index';
import UserList from '../employeeList/userList';
import UserInfo from '../employee/userInfo';

const routes = [
    {
      path:'/',
      component:Index,
      exact:true
    },
    {
      path:'/userList',
      component:UserList
    },
    {
      path:'/userInfo',
      component:UserInfo,
      exact:true
    },
    {
      path:'/userInfo/:id',
      component:UserInfo
    }
  ]
export default routes;